package com.huawei;

import java.util.Scanner;

public class HJ007 {
    //TODO 别面向API写算法，有空造一个轮子
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double d = scanner.nextDouble();
//        System.out.println(Math.round(d));
        System.out.printf("%.0f",d);
    }
}
